package com.gljx.web.dao;

import com.gljx.web.Entity.InwareHouse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface InwareHouseMapper {
    int deleteByPrimaryKey(String fid);

    int insert(InwareHouse record);

    int insertSelective(InwareHouse record);

    InwareHouse selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(InwareHouse record);

    int updateByPrimaryKey(InwareHouse record);

    /**
     * 批量删除
     * @param fid
     * @return
     */
    int deleteByArray(String[] fid);

    /**
     * 同过创建者id进行查询
     * @param fcreatorid
     * @return
     */
    List<InwareHouse> selectInwareHouseByfcreatorid(@Param("fcreatorid")String fcreatorid);
}